<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      let module = {
        exports: {},
      };

      // module.exports = {
      //     a:10
      // }
      // 必须需要 更改  module.exports的值 才能改变导出的值；
      // console.log(module.exports)

      let exports = module.exports;
      // exports.name = "张三";
      exports = {
        name: "张三",
      };
      console.log(module.exports);
    </script>
  </body>
</html>
